
<!--{template "wap_header"}-->

	<div class="content"> 
			<article class="mylsbox">
			<div class="myls-infowarp">
				<div class="myls-info">
					<a href="?mod=recharge" class="my-infobox">
						<span class="myls_u1"></span>
						<ul>
							<li class="name">{MEMBER_NAME}</li>
							<li>账户余额：<span class="f14">&yen;{~user()->get('money')}</span></li>
						</ul>
					</a>
					<div class="oa-line"><em></em></div>
				</div>
				<ul class="myls-item cf">
					<li class="mynote">
						<a href="?mod=me&code=coupon">我的团购券</a>
						<div class="se-line-grad"><em></em></div>
					</li>
											<li class="mycoll">
							<a href="?mod=me&code=order">我的订单</a>
							<div class="se-line-grad"><em></em></div>
						</li>
										<li class="myview">
						<a href="?mod=me&code=bill">消费详单</a>
					</li>
				</ul>
			</div>
			</article>
						<!--{loop $order_all $i $value}-->
		<article class="order-detbox">			
				<div class="order-det">
				<ul>
					<li><font>{TUANGOU_STR}项目：　</font>{$value['product']['name']}({$value['productnum']}份)</li>
					<li><font>订单金额：</font>&yen; {echo $value['totalprice']}元{if $value['product']['type']=='stuff'}，(含运费:{$value['expressprice']}元){/if}</li>
					<li><font>购买时间：</font>{echo date('Y-m-d H:i:s', $value['buytime']);}</li>
					<li><font>订单编号：</font>{$value['orderid']}</li>
					{if $value['expresstime']>0}<li><font>快递单号：</font>{$value['invoice']}</li>{/if}
					{if $value['attrs']}<li><font>属性参数：</font>{loop $value['attrs']['dsp'] $dsp}
{$dsp['name']} - &yen; {$dsp['price']}元</li>{/loop}{/if}
					<li><font>购买附言：</font>{$value['extmsg']}{if ($value['extmsg_reply'] != '')}
<br/><b>卖家回复：</b>{$value['extmsg_reply']}
{/if}</li>
					<li><font style="text-align: center;color: #008d17;display: block;">{if $value['status'] != ORD_STA_Normal}
{if $value['status'] == ORD_STA_Cancel}
已取消
{elseif $value['status'] == ORD_STA_Overdue}
已过期
{elseif $value['status'] == ORD_STA_Faild}
失败
{elseif $value['status'] == ORD_STA_Refund}
已经退款
{/if}
{else}
{if $value['product']['type'] == 'prize'}
<a style="text-align: center;color: #8d008b;display: block;" href="?mod=prize&code=view&pid={$value['productid']}">查看抽奖号</a>
{elseif $value['process'] == 'WAIT_BUYER_PAY'}
<a style="text-align: center;color: #FF4C06;display: block;" href="?mod=buy&code=pay&id={$value['orderid']}">等待付款</a>
{elseif $value['process'] == 'WAIT_SELLER_SEND_GOODS'}
等待发货
{elseif $value['process'] == 'WAIT_BUYER_CONFIRM_GOODS'}
<a style="text-align: center;color: #008d17;display: block;" href="{eval echo logic('pay')->ConfirmLinker($value)}">确认收货</a>
{elseif $value['process'] == 'TRADE_FINISHED'}
交易完成
{elseif $value['process'] == '__CREATE__'}
<a style="text-align: center;color: #005a8d;display: block;" href="?mod=buy&code=order&id={$value['orderid']}">确认订单</a>
{elseif $value['process'] == '__PAY_YET__'}
已经付款
{/if}
{/if}</font></li>
				</ul>
			</div>
			<div class="sp-line"><em></em></div>
			</article>
						<!--{/loop}-->
	        </div>






<!--{template "wap_footer"}-->
<script type="text/javascript">
$(document).ready(function(){
	if (self != top) {  
		parent.location.reload();
	}
});
</script>
</body></html>
